package com.ctshk.rpc.order.custom.req.tourist;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 校验是否可添加旅客req
 * @author 叶冠峰
 * @since 2021-02-25
 */
@Data
@ApiModel(value="校验是否可添加旅客req", description="校验是否可添加旅客req")
public class TouristInfoCheckAddReq implements Serializable {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @NotNull(message = "团期ID不能为空")
    @ApiModelProperty(value = "团期ID",required = true)
    private Long scheduleId;

    @NotNull(message = "旅客类型主数据ID不能为空")
    @ApiModelProperty(value = "旅客类型主数据ID")
    private Long touristTypeId;

}
